namespace TSL.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Data;
    using TSL.DAL;
    using TSL.Model;

    public class site
    {
        private readonly TSL.DAL.site dal = new TSL.DAL.site();

        public void AddSite(TSL.Model.site model)
        {
            this.dal.AddSite(model);
        }

        public void Delete(string ID)
        {
            this.dal.Delete(ID);
        }

        public bool Exists(string title)
        {
            return this.dal.Exists(title);
        }

        public DataSet GetIndexMenu(string strWhere)
        {
            return this.dal.GetIndexMenu(strWhere);
        }

        public List<TSL.Model.site> GetListArray(string strWhere)
        {
            return this.dal.GetListArray(strWhere);
        }

        public DataSet GetListFromView(string strWhere)
        {
            return this.dal.GetListFromView(strWhere);
        }

        public TSL.Model.site GetModel(string ID)
        {
            return this.dal.GetModel(ID);
        }

        public DataSet GetSite(string strWhere)
        {
            return this.dal.GetSite(strWhere);
        }

        public void Update(TSL.Model.site model)
        {
            this.dal.Update(model);
        }
    }
}

